package edu.mju.eduorder.service;

import edu.mju.eduorder.entity.StudyOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author xiaoxin
 * @since 2020-10-05
 */
public interface StudyOrderService extends IService<StudyOrder> {

    /**
     * 生成订单
     * @param courseId 课程id
     * @param userId 用户信息
     * @return orderId订单id
     */
    String createOrder(String courseId, String userId);
}
